package staticproxy;

/**
 * @author gaopeng
 * @date 2019/12/8 7:18 下午
 */
public class GamePlayer implements IGamePlayer {
    private String name;

    public GamePlayer(String name) {
        this.name = name;
    }

    @Override
    public void login(String name, String password) {
        System.out.println(name+"登陆了");
    }

    @Override
    public void killBoss() {
        System.out.println(name+"杀死了boss");
    }

    @Override
    public void upgrade() {
        System.out.println(name+"又升级了。");
    }
}
